//
//  KJStaticNormalItem.h
//  KJKit
//
//  Created by Tiger on 2022/6/9.
//

#import "KJTableViewItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface KJStaticNormalItem : KJTableViewItem

@property (nonatomic, strong) UIImage *image;

/**
 标题
 */
@property (nonatomic, strong) NSString *titleText;

/**
 标题下副标题
 */
@property (nonatomic, strong) NSString *detailText;

/**
 cell 右边描述文本
 */
@property (nonatomic, strong) NSString *descriptionText;

//styling
@property (nonatomic, strong) UIColor *titleColor;
@property (nonatomic, strong) UIFont *titleFont;

@property (nonatomic, strong) UIColor *detailColor;
@property (nonatomic, strong) UIFont *detailFont;

@property (nonatomic, strong) UIColor *descriptionColor;
@property (nonatomic, strong) UIFont *descriptionFont;

@property (nonatomic, assign) CGFloat titleDescriptionRatio;
@property (nonatomic, assign) CGFloat titleDescriptionGap;

@property (nonatomic, assign) CGSize imageSize;

@property (nonatomic, assign) NSInteger numberOfLinesForTitle;
@property (nonatomic, assign) NSInteger numberOfLinesForDetail;
@property (nonatomic, assign) NSInteger numberOfLinesForDescription;

@property (nonatomic, assign) NSLineBreakMode lineBreakModeForTitle;
@property (nonatomic, assign) NSLineBreakMode lineBreakModeForDetail;
@property (nonatomic, assign) NSLineBreakMode lineBreakModeForDescription;



+ (instancetype)itemWithStyle:(UITableViewCellStyle)style
                       Image:(UIImage *)image
                        Title:(NSString *)text
                      Detail:(NSString *)detail
                  Description:(NSString *)description
               SelectedBlock:(KJTableViewItemSelectedBlock)selectedBlock;

@end

NS_ASSUME_NONNULL_END
